#ifndef SCALE_MODE_DIALOG_H
#define SCALE_MODE_DIALOG_H

#include <QDialog>

class QRadioButton;
class QWidget;

class MusicSettings;

/*!
 * Boîte de dialogue pour choisir la tonalité et le mode
 */
class ScaleModeDialog: public QDialog {
   Q_OBJECT;

   public:
      ScaleModeDialog(MusicSettings *, QWidget *parent = 0);

   private:
      MusicSettings *settings;

      QRadioButton *undefinedRadioButton;

      QRadioButton *cM;

      QRadioButton *gM;
      QRadioButton *dM;
      QRadioButton *aM;
      QRadioButton *eM;
      QRadioButton *bM;
      QRadioButton *fisM;
      QRadioButton *cisM;

      QRadioButton *fM;
      QRadioButton *besM;
      QRadioButton *eesM;
      QRadioButton *aesM;
      QRadioButton *desM;
      QRadioButton *gesM;
      QRadioButton *cesM;

      QRadioButton *am;

      QRadioButton *em;
      QRadioButton *bm;
      QRadioButton *fism;
      QRadioButton *cism;
      QRadioButton *gism;
      QRadioButton *dism;
      QRadioButton *aism;

      QRadioButton *dm;
      QRadioButton *gm;
      QRadioButton *cm;
      QRadioButton *fm;
      QRadioButton *besm;
      QRadioButton *eesm;
      QRadioButton *aesm;

      void initialize();

    private slots:
      void validate();
};

#endif
